let proxyObj = {};

proxyObj['/ws'] = {
	ws: true,
	target: "ws://localhost:8800"
};

proxyObj['/']={
    ws:false,
    target:'http://localhost:8800',
    changeOrigin: true,
    pathReWrite:{
        '^/':''
    }
};

module.exports={
    devServer:{
        host:'localhost',
        port:8080,
        proxy:proxyObj
    }
};